﻿using ProtoBuf;

namespace Remoting.Reactive.ProtoBuf
{
    [ProtoContract]
    [ProtoInclude(1, typeof(MethodBase))]
    [ProtoInclude(2, typeof(PropertyInfoDto))]
    public abstract class MemberInfoDto
    {
        [ProtoMember(1)]
        public TypeDto DeclaringType { get; set; }
        [ProtoMember(2)]
        public string Name { get; set; }
    }
}
